import request from '@/utils/request'

// 申报条件列表
export function declarationLists(params?: Record<string, any>) {
    return request.get({ url: '/declaration/list', params })
}

// 申报条件详情
export function declarationDetail(params: Record<string, any>) {
    return request.get({ url: '/declaration/detail', params })
}

// 申报条件新增
export function declarationAdd(params: Record<string, any>) {
    return request.post({ url: '/declaration/add', params })
}

// 申报条件编辑
export function declarationEdit(params: Record<string, any>) {
    return request.post({ url: '/declaration/edit', params })
}

// 申报条件删除
export function declarationDelete(params: Record<string, any>) {
    return request.post({ url: '/declaration/del', params })
}
